using System;
using Abc.Core;
using Furion.DatabaseAccessor;
using Furion.DependencyInjection;
using Mapster;
using Microsoft.EntityFrameworkCore;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace Abc.Application
{
    /// <summary>
    /// Description 
    /// </summary>
    public class UserDto
    {

        ///<Summary>
        /// Id
        ///</Summary>
        public int Id { get; set; }
        ///<Summary>
        /// UserName
        ///</Summary>
        public string Account { get; set; }
        ///<Summary>
        /// Nick
        ///</Summary>
        public string Nick { get; set; }
        ///<Summary>
        /// PassWord
        ///</Summary>
        public string PassWord { get; set; }
        ///<Summary>
        /// TableHeaderSetting
        ///</Summary>
        public string TableHeaderSetting { get; set; }
        ///<Summary>
        /// LastLoginTime
        ///</Summary>
        public DateTime LastLoginTime { get; set; }
        ///<Summary>
        /// CreatorUserId
        ///</Summary>
        public int CreatorUserId { get; set; }
        ///<Summary>
        /// CreatorUserName
        ///</Summary>
        public string CreatorUserName { get; set; }
        ///<Summary>
        /// CreationTime
        ///</Summary>
        public DateTime CreationTime { get; set; }
        ///<Summary>
        /// LastModifierUserId
        ///</Summary>
        public int LastModifierUserId { get; set; }
        ///<Summary>
        /// LastModifierUserName
        ///</Summary>
        public string LastModifierUserName { get; set; }
        ///<Summary>
        /// LastModificationTime
        ///</Summary>
        public DateTime? LastModificationTime { get; set; }
        ///<Summary>
        /// IsDeleted
        ///</Summary>
        public bool IsDeleted { get; set; }
        ///<Summary>
        /// DeleterUserId
        ///</Summary>
        public int DeleterUserId { get; set; }
        ///<Summary>
        /// DeleterUserName
        ///</Summary>
        public string DeleterUserName { get; set; }
        ///<Summary>
        /// DeletionTime
        ///</Summary>
        public DateTime? DeletionTime { get; set; }
        ///<Summary>
        /// ExtensionData
        ///</Summary>
        public string ExtensionData { get; set; }


        /// <summary>
        /// 省份
        /// </summary>
        public string Province { get; set; }

        /// <summary>
        /// 城市
        /// </summary>
        public string City { get; set; }

        /// <summary>
        /// 镇
        /// </summary>
        public string Town { get; set; }

        /// <summary>
        /// 详细地址
        /// </summary>
        public string Address { get; set; }



        /// <summary>
        /// 是否测试
        /// </summary>
        public bool IsTest { get; set; }

        /// <summary>
        /// 邮箱(必填)
        /// </summary>
        public string Email { get; set; }

        /// <summary>
        /// 联系电话
        /// </summary>
        public string Phone { get; set; }

        /// <summary>
        /// 办公电话
        /// </summary>
        public string Tel { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }


        /// <summary>
        /// 账户类型
        /// </summary>
        public UserType UserType { get; set; }


        public List<RoleDto> Roles { get; set; }

        /// <summary>
        /// 登陆时间
        /// </summary>
        public DateTime? LoginTime { get; set; }

        

    }




}
